package com.ssy.lingxi.search.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;

/**
 * 属性值实体类--会员属性
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/6/23
 */
@Data
public class SimpleCustomerAttributeValue implements Serializable {
    private static final long serialVersionUID = -765895435524610091L;
    /**
     * 主键id
     */
    @Field(type = FieldType.Long)
    private Long id;

    /**
     * 属性值
     */
    private String value;

    /**
     * 后台属性实体
     */
    private SimpleAttributeValue attributeValue;
}
